<?php

$objRegistro  =  $objConn->Execute("SELECT *,DATE_FORMAT('dt_cadastro','%d/%m/%Y') as dt_informativo  from tbl_informativos WHERE  st_status='S' order by dt_cadastro desc LIMIT 5");
$strResult = "";

if( $objError->semErros() )
{
	while( !$objRegistro->EOF ) {
		
		$strResult .= "<li><a href=\"mostraInformativo.php?".md5("codRegistro")."=".base64_encode( $objRegistro->fields['co_informativos'] )."\"<span>{$objRegistro->fields['dt_informativo']}</span>".( $objRegistro->fields['no_titulo'] )."</a></li>";	
	 	$objRegistro->MoveNext();
	}
	
	echo $strResult;
	
}	
?>